package com.topc.others.model.dto;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class SaveCompetitionInfoDto {

    @NotEmpty
    private String title;

    private LocalDateTime endTime;

    private LocalDateTime startTime;

    @NotEmpty
    private String notice;

    @NotEmpty
    private String composeMid;

    private Long groupId;

    private Integer difficulty;

    private Integer isPublic;

    private LocalDateTime limitTime;

    private Integer type;

    @NotNull
    private BigDecimal hourCount;

}
